﻿using rbac.Contracts.DTO.Input;
using rbac.Contracts.DTO.Output;
using rbac.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.Contracts.Interface
{
    public interface IRolePerMissionService
    {
        int DistributeRolePermission(DistributeRolePermissionsInput input);
        /// <summary>
        /// 获取角色获取权限列表
        /// </summary>
        /// <param name="roleId"></param>
        /// <returns></returns>
        List<PermissionDto> GetPermissionByRoleId(int roleId);
    }
}
